Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

k8sutil: remove global defaultKubeAPIRequestTimeout #1936

Merged
merged 1 commit into from
Mar 6, 2018

Conversation

hongchaodeng
Copy link
Member

The watch stream in informer will break after 30s:

E0306 20:38:49.476999       1 streamwatcher.go:109] Unable to decode an event from the watch stream: net/http: request canceled (Client.Timeout exceeded while reading body)

The watch stream in informer will break after 30s.
@hongchaodeng
Copy link
Member Author

hongchaodeng commented Mar 6, 2018

Meanwhile, the upstream has been reviving the discussion of adding ctx into clients:
kubernetes/kubernetes#46503

We should make use of that for individual calls instead of making this timeout global.

@hasbro17
Copy link
Contributor

hasbro17 commented Mar 6, 2018

LGTM

@hongchaodeng hongchaodeng merged commit 8726b1a into coreos:master Mar 6, 2018
@hongchaodeng hongchaodeng deleted the f branch March 6, 2018 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants